package com.example.shixun.service.impl;

import com.example.shixun.dao.ExamUserDao;
import com.example.shixun.pojo.ExamUser;
import com.example.shixun.service.ExamUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamUserServiceImpl implements ExamUserService {
    @Autowired
    ExamUserDao examUserDao;

    @Override
    public Integer save(ExamUser examUser) {
        return examUserDao.save(examUser);
    }

    @Override
    public Integer delete(ExamUser examUser) {
        return examUserDao.delete(examUser);
    }

    @Override
    public List<ExamUser> findAll(ExamUser examUser) {
        return examUserDao.findAll(examUser);
    }
}
